package com.fuqiang.nightshopumsmodel.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Description:用户标签表
 * @author fuqiang
 * @since 2020-04-14
 */
@ApiModel(value ="用户标签表")
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ums_member_tag")
public class UmsMemberTag implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField("name")
    private String name;
    @ApiModelProperty(value = "自动打标签完成订单数量")
    @TableField("finish_order_count")
    private Integer finishOrderCount;
    @ApiModelProperty(value = "自动打标签完成订单金额")
    @TableField("finish_order_amount")
    private BigDecimal finishOrderAmount;


    public static final String ID = "id";

    public static final String NAME = "name";

    public static final String FINISH_ORDER_COUNT = "finish_order_count";

    public static final String FINISH_ORDER_AMOUNT = "finish_order_amount";

}
